<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>我是用来测试调用自己写的“获取英雄列表接口”的文件</h1>
    <script src="./lib/axios.js"></script>
    <script>
        axios({
            url: "http://127.0.0.1:3000/getHero",
            method: "get"
        }).then(res=>{
            console.log(17,res)
        })
    </script>
</body>
</html>